Fix PCL_ROOT path
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 18 Aug 2017 09:30:38 +0000 (11:30 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Mon, 24 Feb 2025 08:16:33 +0000 (09:16 +0100)
Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch

PCLConfig.cmake.in

index 6e1af47c6746746b9e2d408fffbc368c0c3e2f23..5da111d0a1b24798c4db3a44284e3d2ff86cdefc 100644 (file)
@@ -395,7 +395,7 @@ if(WIN32 AND NOT MINGW)
   endif()
 else()
 # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
-  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
+  set(PCL_ROOT "/usr")
 endif()
 
 # check whether PCLConfig.cmake is found into a PCL installation or in a build tree